package com.ruoyi.by.health.mapper;


import com.ruoyi.by.health.domain.entity.ByhealthPrizeRules;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ByhealthPrizeRulesMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ByhealthPrizeRules record);

    int insertSelective(ByhealthPrizeRules record);

    ByhealthPrizeRules selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ByhealthPrizeRules record);

    int updateByPrimaryKey(ByhealthPrizeRules record);


    int getPrizeRulesCount(@Param("rulesId") Long rulesId);

    List<ByhealthPrizeRules> getPrizeRulesList(@Param("rulesId") Long rulesId);

}